package com.hyk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyk.domain.SysPrivilege;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface SysPrivilegeMapper extends BaseMapper<SysPrivilege> {
    void removeByRoleId(@Param("roleId") String roleId);

    Set<Long> findMenuIdByPid(@Param("privileges") List<Long> privileges);
}